package com.ycr.springmvc.event;

import org.springframework.context.ApplicationEvent;

public class MethodExecutionEvent extends ApplicationEvent {

	private static final long serialVersionUID = -8949544486464200223L;

	private String methodName;

	private String methodExecutionStatus;

	public MethodExecutionEvent(Object source) {
		super(source);
	}

	public MethodExecutionEvent(Object source, String methodName, String methodExecutionStatus) {
		super(source);
		this.methodName = methodName;
		this.methodExecutionStatus = methodExecutionStatus;
	}

	public String getMethodName() {
		return methodName;
	}

	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}

	public String getMethodExecutionStatus() {
		return methodExecutionStatus;
	}

	public void setMethodExecutionStatus(String methodExecutionStatus) {
		this.methodExecutionStatus = methodExecutionStatus;
	}
	
	
}
